import request from '/@/utils/request'

//增加文件分类
export const fileCateAdd = (params?: any) => request.post('/file/addCate', params);

//编辑文件分类
export const fileCateEdit = (params?: any) => request.post('/file/editCate', params);

// 文件分类删除
export const fileCateDelete = (params?: any) => request.delete('/file/delCate', params);

// 文件分类列表
export const fileCateLists = (params?: any) => request.get('/file/listCate', params);

// 文件列表
export const fileList = (params?: any) => request.get('/file/lists', params);

// 文件删除
export const fileDelete = (params?: any) => request.delete('/file/delete', params);

// 文件移动
export const fileMove = (params?: any) => request.post('/file/move', params);

// 文件重命名
export const fileRename = (params?: any) => request.post('/file/rename', params);